<!--{subtemplate mobile/common/header}-->
<!--{hook/index_top_mobile}-->
<!--{if $forum_favlist}--> 
<div  data-role="content">
<ul data-role="listview" data-inset="true" class=" ui-listview  ui-listview-inset ui-corner-all ui-shadow " data-theme="b">
<li class="ui-li ui-li-static ui-body-c">
		<a href="home.php?mod=space&uid={$_G[uid]}&do=favorite&view=me&type=forum">{lang my_favorites_forums}</a>
</li>
		{eval $i=1;}
		<!--{loop $forum_favlist $key $val}-->
			<li class="ui-li ui-li-static ui-body-c <!--{if $i%2 == 1}-->add<!--{else}-->even<!--{/if}-->"><a href="forum.php?mod=forumdisplay&fid={$val['id']}">$val['title']</a> <a href="home.php?mod=spacecp&ac=favorite&op=delete&favid={$val[favid]}&type=forum" title="{lang favorite_delete}" class="xg1">[x]</a></li>
		  {eval $i++;}
		<!--{/loop}-->
</ul></div>
<!--{/if}-->
<!-- main body template-->
<div data-role="content" class="ui-content" role="main">
		<div class="content-primary">	
<ul data-role="listview" data-filter="true" data-inset="true" class=" ui-listview  ui-listview-inset ui-corner-all ui-shadow " data-theme="b">
<!-- main body template-->
<!--{loop $catlist $key $cat}-->
    	<li class="ui-li ui-li-static ui-body-c"><!-- li main body template-->
    	<!--{if $_G[setting][mobile][mobileforumview] == 1}--><a href="forum.php?viewgid={if $cat[fid] != $_G[gp_viewgid]}{$cat[fid]}{else}0{/if}">$cat[name]</a><!--{else}-->$cat[name]<!--{/if}-->
        </li><!-- li main body template-->
        <!--{if $_G[setting][mobile][mobileforumview] == 0 || ($cat[fid] == $_G[gp_viewgid])}-->
            {eval $i=1;}
            <!--{loop $cat[forums] $forumid}-->
                <li class="ui-li ui-li-static ui-body-c <!--{if $i%2 == 1}-->add<!--{else}-->even<!--{/if}-->"><!-- li main body template-->
                    <!--{eval $forum=$forumlist[$forumid];}-->
                    <a href="forum.php?mod=forumdisplay&fid={$forum['fid']}" {if $forum_favlist[$forumid]}class="xi1"{/if}>{$forum[name]}</a> <!--{if $forum[todayposts] > 0}--><font class="xg1">($forum[todayposts])</font><!--{/if}-->
                </li><!-- li main body template-->
                {eval $i++;}
            <!--{/loop}-->
        <!--{/if}-->
<!--{/loop}-->
<!-- End main body template-->
</ul>
</div>		
</div>
<!-- End main body template-->
<!--{hook/index_middle_mobile}-->
<ul data-role="listview" data-theme="b">
    	<li class="bm_h">
	{lang index_today}$todayposts<span class="pipe">|</span>{lang index_members}$_G['cache']['userstats']['totalmembers']<!--{if empty($gid) && $_G['setting']['whosonlinestatus'] && $onlinenum}--><span class="pipe">|</span>{lang online}$onlinenum<!--{/if}-->
         </li>
</ul>
<!--{hook/index_bottom_mobile}-->
<!--{subtemplate mobile/common/footer}-->
